home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 276 < prev    next >
Encoding:
Text File  |  1996-08-05  |  582 b   |  18 lines

  1. Newsgroups: comp.lang.c++
  2. Path: cix.compulink.co.uk!usenet
  3. From: henri@cix.compulink.co.uk ("Henry Andrew")
  4. Subject: Re: two tricky questions
  5. Message-ID: <DKLzyq.M1u@cix.compulink.co.uk>
  6. Organization: IBM
  7. References: <4c6v9u$jdl@news.xmission.com>
  8. Date: Wed, 3 Jan 1996 14:23:14 GMT
  9. X-News-Software: Ameol
  10.  
  11. >define a copy constructor, so the compile will generate one that does a
  12. >memberwise ( or bitwise ) assignment of the original to the copy. This is
  13.  
  14. sorry to be a pedant but C++ does not do a bitwise copy is a default copy 
  15. ctor.  It does a memberwise copy.
  16.  
  17. Yours &c. Henry
  18.